<seed-content #content>
  <seed-toolbar-header>
    <seed-toolbar-title>优惠券详情</seed-toolbar-title>
    <seed-toolbar-menu></seed-toolbar-menu>
  </seed-toolbar-header>
  <div class="coupon-detail-wrap ">
    <div class="coupon-detail" *ngIf="coupon">
      <div class="coupon-detail-info seed-flexbox
        seed-flexbox-column seed-flexbox-align-center">
        <div class="coupon-detail-lable "> <em></em></div>
        <p >{{ coupon.couponName }}</p>
        <p class="coupon-detail-price">￥<span>{{ coupon.couponValue/100 || 0 }}</span></p>
        <p *ngIf=" coupon.useCondition == 2 ">满{{ coupon.useValue/100 || 0 }}元可用</p>
        <p *ngIf=" coupon.useCondition == 1 ">无门槛</p>
        <p class="coupon-detail-hint" >{{status}}</p>
        <p class="last-time">
          {{ coupon.startTime | amDateFormat:'YYYY-MM-DD' }}&nbsp;至&nbsp;{{ coupon.endTime | amDateFormat:'YYYY-MM-DD' }}
        </p>
      </div>
      <div class="coupon-detail-explain">
        <p>适用平台：全平台</p>
        <p>详细说明：{{ coupon.description }}</p>
      </div>
    </div>
  </div>
</seed-content>
